package com.mrx.commons.annotations;

import com.mrx.commons.logback.config.XLogCollectorConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用 openObserve 的 http 日志收集器
 *
 * @author Mr.X
 * @since 2023-12-10 上午 8:16:39
 */
@Target(ElementType.TYPE)
@Import(XLogCollectorConfig.class)
@Retention(RetentionPolicy.RUNTIME)
public @interface EnableXLogCollector {
}
